.contain{
    margin-top: 45px;
}

.classes{
    width: 100%;
    padding: 20px;
    background: white;
}
.top-bar{
    width: 100%;
    position: relative;
}
.top-bar input{
    padding: 10px;
    padding-left: 20px;
    padding-right: 155px;
    width: 100%;
    border: 1px solid #dddddd;
    border-radius: 0 25px 25px;
}
.top-bar .create{
    padding: 19px;
    position: absolute;
    border-radius: 0 25px 25px;
    right: 0;
    top: 0;
}
.top-bar .create i{
    font-size: 20px;
    top: 2px;
    position: relative;
}
.top-bar .create span{
    padding-left: 5px;
}
.items{
    margin-top: 20px;
}
.class-item{
    width: 100%;
    padding: 5px;
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 1px;
}
.class-item:last-child{
    border: 0;
}
.class-item .preview-image{
    width: 100px;
    height:100px;
    background: #00d1b2;
    border-radius: 3px 110px 3px 110px;
    float: left;
}
.class-item .class-content{
    height:100px;
    width: 445px;
    margin-left: 5px;
    font-size: 14px;
    padding: 5px;
    background: white;
    border-radius: 3px;
    float: left;
    position: relative;
}
.class-content .desc{
    max-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 12px;
    padding: 5px;
}
.class-content .class-top{
    padding-left: 5px;
}
.class-content .type-mark{
    font-size: 12px;
    margin-left: 5px;
    position: absolute;
    bottom: 5px;
    color: #cccccc;
}
.class-top .class-name{
    background: #ff7e22;
    text-shadow: -1px 0px 1px brown;
    color: white;
    padding: 5px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 0 30px 30px;
    max-width: 165px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}
.class-top .teacher-name{
    color: brown;
    float: right;
    margin-right: 5px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 85px;
}
.class-top .blank{
    float: right;
    color: #c4c4c4;
}
.class-top .createTime{
    float: right;
    margin-left: 5px;
}
.class-item .fill-code{
    height:100px;
    width: 100px;
    margin-left: 5px;
    background: white;
    border-radius: 3px;
    float: left;
    text-align: center;
}
.class-item .fill-code a{
    padding: 10px;
    color: #00d1b2;
    line-height: 100px;
}
/*课堂*/
.create-border{
    display: none;
    position: fixed;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
}
.create-class-dialog{
    margin: 80px auto;
    width: 400px;
    background-color: #f6f6f6;
    border-radius: 6px;
    overflow: hidden;
}
.create-class-dialog .up-bar{
    text-align: center;
    padding: 10px;
}
.create-class-dialog .name-of-class input{
    padding: 5px;
    width: 90%;
    margin-left: 15px;
    border: 1px solid #e5e5e5;
    border-bottom: 0;
    border-radius: 5px 5px 0px 0px;
}
.create-class-dialog .desc-of-class textarea{
    width: 90%;
    margin-left: 15px;
    margin-top: 0;
    height: 100px;
    padding: 5px;
    border: 1px solid #e5e5e5;
    resize: none;
    border-radius: 0px 0px 5px 5px;
}
.create-class-dialog a{
    border-radius: 3px;
    width: 110px;
    margin-bottom: 5px;
    float: right;
    margin-right: 25px;
}
.create-class-dialog .create-cancel{
    background: white;
    border: 1px solid lightgrey;
    color: #00d1b2;
}
.fill-code-border{
    position: fixed;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
}
.fill-code-box{
    width: 400px;
    border-radius: 3px;
    margin: auto;
    margin-top: 10%;
    background: white;
    padding: 50px;
}
.fill-code-box input{
    display: block;
    padding: 5px;
    border-radius: 3px;
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid lightgrey;
}
.fill-code-box .fillCode,.cancelFillCode{
    width: 100px;
    margin: auto;
}